SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Emilio Augusto Veras Ivanovich
-- Create date: 03/06/2012
-- Description:	Get Doctor by ID
-- =============================================
CREATE PROCEDURE [dbo].[PROCEDURE_DOCTORS_FILTERED_BY_ID]
	-- Add the parameters for the stored procedure here
	@ID VARCHAR(12) = NULL
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
    -- Select statements for procedure here
	SELECT * FROM [dbo].[DOCTORS] WHERE [ID] = @ID;
END
GO
